Asynchronous Codec
Utilities for encoding and decoding frames using async/await.
This is a fork of futures-codec
by Matt Hunzinger borrowing many concepts from
tokio-codec
.
Contains adapters to go from streams of bytes, AsyncRead
and AsyncWrite
,
to framed streams implementing Sink
and Stream
. Framed streams are also known as transports.
Example
use ;
async